home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d11
/
egacus.arc
/
PALETC.DOC
< prev
next >
Wrap
Text File
|
1987-05-13
|
6KB
|
155 lines
Part of the ENHANCER series of programs PALETCON.COM Ver. 1.0, Apr 17, 1985
Copyright (C) I. B. Miller 1985
If you find this of value and use it please send a
contribution ($25.00) suggested. If you want the
latest version of the ENHANCER programs please send $25.00
plus $10.00 for Disk, Documentation, Shipping & Handling etc..
To: Enhancers
231 Otonabee Ave.
Willowdale, Ontario, Canada
M2M-2S9
PALETCON is a program which Controls any of seventeen palettes on the
enhanced color card ( Enhanced Graphics Adapter), to my knowledge it uses DOS
functions properly as Underground docs. suggest will be recommended by IBM
when it sees fit in its Corporate Wisdom to release documentation.
PALETCON uses a selectable interrupt default of keyboard 09, on the AT I
also like 15 Sys Req, feel free to experiment, in order to reset palette
colors as desired. This defeats the revisionist tendencies of most programs
which reset colors to standard and then use black and white instead of your
choice of colors. The only trouble is that on anything but the AT the speed
of the DOS reset of color palettes is so slow as to be noticeable. I am
looking at ways to speed it up so that this program will be more easily
used on a regular PC.
Note that some other programs such as Sidekick also work by borrowing
or stealing vectors. This program and such others are usually compatible but
in case of difficulty the order in which they are called up can be important
as in the case of Sidekick where this must be called first.
Syntax is: PALSET PHH,PHH,iHH,sHH,o,r
----------
, indicates another palette color change is coming
P is any hex digit (0-F) to indicate the desired palette number.
s means the overscan or border ( letter s ) (Not useable in enhanced mode)
(temporarily fouls up display.)
o means turn off the resetting action ( letter o )
r means reset to standard colors ( letter r )
HH is the color to be used (MUST be 2 digits - see below for colors -
Regular Monitor - note that the default gives standard colors on
---------------- the enhanced monitor - you must set the high intensity
colors for the regular monitor following rules below.
note that if you have a regular monitor the card will give regular colors
only but while 8 to F are NORMALLY high intensity versions of 0 to 7
the EGA must have a 1 put in to get high intensity.
- A is bright green on regular card but on the EGA
bright green is 1A or 12 - similar for 0E and 1E or 16 etc.
I suspect that it has to do with the fact that when operating with
a regular monitor the card ignores bits to define other colors and just
uses those which define the standard set of 8, then it looks to the high
digit and looks only at the 1 bit to pick high intensity.
Enhanced Monitor
----------------
Bits 1 is Medium Blue - 01
2 is Medium Green - 02
3 is Medium Red - 04
4 is Low intensity Blue - 08
5 is Low intensity Green - 10
6 is Low intensity Red - 20
1+4 is High intensity Blue - 09 Low and medium add to give
2+5 is High intensity Green - 12 high - this is the basic
3+6 is High intensity Red - 24 principle the card works on
There are also a high number of mixed and matched colors available
Feel free to try combinations. I just received the Enhanced Display
and am having a great time setting special colors.
This program is particularly good for use with the 3278/79 emulation to get
some decent colors on the screen, set up and use BAT files for your colors.
Following is the standard palette color set and the numbers which describe
them
B B G C R M B W G High intensity colors O
l l r y e a r h r --------------------- v
a u e a d g o i e B G C R M B W e
c e e n e w t y l r y e a r h r
k n n n e u e a d g o i s
t e e n e w t c
a n t n e a
a n
palette No = 0 1 2 3 4 5 6 7 8 9 A B C D E F 10
^-this is the
Seventeenth I have
used the letter s for it
in the program parameters.
Sample command ( Easiest to use from a batch file as remembering colors
-------------- is difficult)
PALETCON 001,212,717,916,s01 (note that this choice is for a regular monitor)
to set up the palettes to get decent colors with the 3278/79 emulate
card - change as desired to have different colors in place of standard.
This says change 0 or Black background to 01 or Blue background
2 or Dark Green to 12 or Light Green
7 or White * to 17 or High intensity White
9 or Light Blue ** to 16 or Light Yellow
s or Overcan (Border) to 01 or Blue border
* It is called White but it is really a Dull White
Disclaimer
----------
For obvious reasons the user is totally responsible for use of this
program and determining that it is suitable for use by him, and he uses this
program with no warranty from myself.
It should work properly with the EGA from IBM or any card which later
maintains compatibility with it
General
--------
The official standard color palettes are:
0. Black 8. grey
1. Blue 9. Light Blue
2. Green A. light Green
3. Cyan B. Light Cyan
4. Red C. light Red
5. Magenta D. Light Magenta
6. Brown E. Yellow
7. White F. bright White
You might want to try some of the following to replace any of the
standard colors - example uses the 0 or normally Black Palette.
10 - a beautiful deep green "paletcon 010"
08 - a very deep blue "paletcon 008"
20 - a very deep red "paletcon 020"
34 - an orangish salmon "paletcon 034"
25 - a hot pink "paletcon 025"
If you have any comments or suggestions please contact
me either at Home in the evenings at (416) 226-9753
or at the following BBS's PCanada(pc-1266) (416) 751-6337
SGV-BBS (416) 673-0557